package cn.tedu._04mybatis.mapper;

import cn.tedu._04mybatis.pojo.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;

@Mapper
public interface UserMapper {
    /*@Insert("INSERT INTO user(id,username,password,nickname,created) " +
            "VALUES(#{id},#{username},#{password},#{nickname},#{created})")*/

    int insertUser(User user);
}
